import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VCharts from 'v-charts'
Vue.use(ElementUI);
Vue.use(VCharts);
Vue.config.productionTip = false
//初始化样式
import "./assets/css/reset.css";
//内容区title组件
import headerPage from "./components/common/headerPage";
Vue.component("headerPage", headerPage);
//axios注册
import http from "./api/http";
Vue.prototype.$post = http.post;
Vue.prototype.$get = http.get;
Vue.prototype.$put = http.put;
Vue.prototype.GLOBAL = globalVariable;

//初始化样式
import "./assets/css/reset.css";
import globalVariable from './api/globalVariable';
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
